Clean Commands
February 19, 2023
Last updated on August 17, 2026
These are the commands that are available from the More Clean menu.
Change Sentence Spacing
Expands or collapses whitespace between sentences, toggling between either one or two spaces between sentences. This affects the entire page.
Note that the sentence detection may not be perfect; it looks for periods (.), exclamation marks (!), and semi-colons (;) that follow alpha-numeric strings. This means it may change the spacing between abbreviations such as "H. G. Wells!"
Clear Background Color
Clears the highlight background color of text or the shading of table cells and also resets the text color to maintain readability against the default background. This is useful for quickly resetting the styling of content copied and pasted from the Web that uses a dark background when pasting onto a light page.
This affects the entire page or only selected content.
Remove Author Information
Removes all author information from the current page.
Remove Duplicate Pages
Analyzes the current section, or selected notebooks, looking for duplicate and empty pages and presents a dialog from which you can view and cherry pick pages to delete. Ensure Notebook History is enabled prior to cleaning up pages so deleted pages can be recovered from the notebook recycle bin if necessary.
There are three analyzer with varying algorithms for duplicate detection.
- The Text analyzer will only compare text content on the page.
- The XML analyzer will look at the full XML representation of the page, including images and names of attachments.
- The Deep analyzer will compare binary content as well as text content; on a large notebook or across large pages, this may take minutes so consider using it when comparing pages within a single section.
The Distance quantifier, available only with the Text and XML analyzers, indicates how close two pages are - the smaller the number, the closer or more similar they are.
Remove Empty Lines
Removes empty headings with no content and "extra" empty lines between paragraphs, e.g., two or more lines get compressed down to one line. It also attempts to align indented and outdented blank lines with the surrounding content so that consecutive paragraphs can be collapsed below a shared heading.
Remove Hyperlinks
Removes all hyperlinks from the current page or the selected range.
Remove Indents
Removes indentation from the selected paragraphs.
Remove Ink
Removes all ink drawings and annotations from the current page.
Remove Paragraph Spacing
Resets line spacing to zero between all paragraphs and headings. This relates to the paragraph's "space before" and "space after" setting. It does not affect blank lines between paragraphs; see Remove Empty Lines for that.

Remove Pasted Citations
Removes citations that OneNote auto-generates when you paste screen clipping and parts of Web pages into OneNote, for example From < https://www....
Remove Tags
Removes all OneNote tags from the current page, except those that are associated with reminders.
Restore Container Widths
After manually setting the width of containers on a page, this command will reset the widths of all containers on the page to auto-size based on the content.
Show/Hide Time Stamps
Toggles the page date and time stamps under the title on the current page or all pages in the current section

Trim Whitespace
Trims trailing whitespace from the selected text or all text on the page.
Trim Leading Whitespace
Trims leading whitespace from the selected text or all text on the page.
#omwiki #omcommands
© 2020 Steven M Cohn. All rights reserved.
Please consider a sponsorship or one-time donation to support ongoing development
Created with OneNote.